projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409847a
)
Include unistd.h, if it exists.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 4 Nov 2001 03:20:48 +0000
(
03:20
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 4 Nov 2001 03:20:48 +0000
(
03:20
+0000)
src/ChangeLog
patch
|
blob
|
history
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 502f607a0ea623efd3dc3823e7f2a4292d157736..43efd8fc05ed61930fd5949cf9fc4cc216d5a5b5 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,11
@@
+2001-11-03 Richard M. Stallman <rms@gnu.org>
+
+ * xfns.c: Include unistd.h, if it exists.
+
+ * editfns.c: Move the include of ctype.h after unistd.h.
+
+ * gmalloc.c: Test BROKEN_PROTOTYPES.
+
2001-11-03 Ken Raeburn <raeburn@gnu.org>
* lisp.h (CHECK_STRING_CAR): New macro.
diff --git
a/src/xfns.c
b/src/xfns.c
index fe1f0b0f4492e994cefd0b23e44e63f373c4fdbe..8f7e13311f8415bcbc88e10a92702186513d1e97 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-24,6
+24,10
@@
Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <math.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
/* This makes the fields of a Display accessible, in Xlib header files. */
#define XLIB_ILLEGAL_ACCESS